package com.asiainfo.iov.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.framework.utils.ScreenUtils;
import com.framework2.customviews.TitleView;
import com.framework2.util.PicToastUtil;
import com.yaxin.yyt.R;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 反馈与建议
 *
 * @author YobertJomi
 * className FeedbackdActivity
 * created at  2017/3/15  11:30
 */
public class FeedbackdActivity extends BaseActivity {
    @BindView(R.id.titleView)
    TitleView titleView;
    @BindView(R.id.tip)
    TextView tip;
    @BindView(R.id.topLayout)
    LinearLayout topLayout;
    @BindView(R.id.et_content)
    EditText etContent;
    @BindView(R.id.contentLayout)
    LinearLayout contentLayout;
    @BindView(R.id.split)
    View split;
    @BindView(R.id.tv_sure)
    TextView tvSure;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_feedback);
        ButterKnife.bind(this);
        ScreenUtils.getInstance().setTranslucentStatus(this, true);
        ScreenUtils.getInstance().setStatusBarTintColor(this,
                getResources().getColor(R.color.white));
        initView();
    }

    private void initView() {
        titleView.setTitle(R.string.feedback).setRightVisible(false);
    }

    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.tv_sure:
                PicToastUtil.getInstance().showToast(FeedbackdActivity.this, "commit");
                break;
            default:
                break;
        }
    }
}
